package creational.factory;

/**
 * 基础工厂
 */
public abstract  class Page {

    public void  useButton(){
        Button button = createButton();
        button.show();
    }

    public abstract Button createButton();
}
